const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  // token: state => state.user.token, // 不需要了 因为我们将user里面的干掉了
  avatar: state => state.user.userInfo.staffPhoto,
  name: state => state.user.userInfo.username // 这地方 在
}
export default getters
